﻿package mortal.game.view.copy.groupCopy.data
{
    import Message.DB.Tables.*;
    import Message.Public.*;
    import mortal.game.resource.*;

    public class GroupCopyLeaveOperData extends Object
    {
        public var type:String;
        public var tcopy:TCopy;
        public var callBack:Function;
        public var prame:Array;
        private var _sgroupOper:SGroupOper;
        public var isShowAler:Boolean = true;
        public static var Apply:String = "Apply";
        public static var Create:String = "Create";
        public static var FastEnterGroup:String = "FastEnterGroup";
        public static var RegisterArena:String = "RegisterArena";

        public function GroupCopyLeaveOperData(param1:String = null)
        {
            this.type = param1;
            return;
        }// end function

        public function get sgroupOper() : SGroupOper
        {
            return this._sgroupOper;
        }// end function

        public function set sgroupOper(param1:SGroupOper) : void
        {
            this._sgroupOper = param1;
            this.tcopy = CopyConfig.instance.getCopyInfoByCode(this._sgroupOper.copyCode);
            return;
        }// end function

    }
}
